﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PessModel;
using PessMvc.Models;
namespace PessMvc.Lib
{
    interface IExpertJudgeBL
    {
        bool Add(ExpertJudge expertModel,List<ExpertGroup> expertGroups,out string errorMsg,string password="111111");
        bool IfExpertExists(int? expertGroupID, string realName);
        /// <summary>
        /// This is for PESS2
        /// </summary>
        /// <param name="expertGroupID"></param>
        /// <param name="realName"></param>
        /// <returns></returns>
        bool IfExpertExists2(ExpertJudgeModel model);
        bool IfExpertGroupMatchesActivity(int activityID, int? expertGroupID);
        ExpertJudge Find(string serialNumber);
        ExpertJudge Convert(ExpertJudgeModel model);
        ExpertJudgeModel Convert(ExpertJudge expert);
        bool IfAllContractsSigned(string serialNumber);
    }
}
